<?php
session_start();
if(isset($_SESSION['nip'])){
    header('location:view/modul.pegawai.php?view');
}else {
    header('location:view/login.php');
}